home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / eroticos / spermananalodyssea.swf / scripts / frame_8 / PlaceObject2_124_17 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2005-11-04  |  669b  |  24 lines

  1. onClipEvent(enterFrame){
  2.    scrollSpeed = _root.scrollSpeed;
  3.    if(this._name != "wallBlock" && _root.sperman.scrollStart == true)
  4.    {
  5.       this._x -= scrollSpeed;
  6.       if(this.hitTest(_root.sperman.choque.getBounds(_root).xMax,_root.sperman.choque.getBounds(_root).yMax,true))
  7.       {
  8.          _root.chocarF();
  9.       }
  10.       if(this.hitTest(_root.sperman.choque.getBounds(_root).xMin,_root.sperman.choque.getBounds(_root).yMin,true))
  11.       {
  12.          _root.chocarF();
  13.       }
  14.       if(this._x <= (- this._width) / 2)
  15.       {
  16.          this.removeMovieClip();
  17.       }
  18.    }
  19.    if(_root.restart == true)
  20.    {
  21.       this.removeMovieClip();
  22.    }
  23. }
  24.